package cn.buk.tms.dto;

/**
 * tms的供应商，用户可以通过该供应商进行采购
 *
 * @author yfdai
 */
public class TmsSupplierDto {

  public static TmsSupplierDto create(int id, String name) {
    TmsSupplierDto dto = new TmsSupplierDto();

    dto.setId(id);
    dto.setName(name);

    return dto;
  }

  private int id;

  private String name;


  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

}
